package com.mentaleye.dal.dao.mybatis;

import com.mentaleye.dal.dao.AutoFormDataSourceDao;
import com.mentaleye.dal.service.AutoFormDataResourceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class AutoFormDataSourceDaoImpl implements AutoFormDataSourceDao {
    @Autowired
    AutoFormDataResourceMapper autoFormDataResourceMapper;
    @Override
    public List<Map<String, Object>> executeSql(String sql) {
        return autoFormDataResourceMapper.selectBySql(sql);
    }
}
